package com.shuwen.gcdj.exception;

import com.shuwen.gcdj.common.api.IErrorCode;

public class IErrorCodeAdapter implements IErrorCode {
    private long code;

    private String message;

    public IErrorCodeAdapter(long code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public long getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }

    public void setCode(long code) {
        this.code = code;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
